<?php

/**
 * @Author:      lyt
 * @DateTime:    2016-10-09 09:41:59
 * @Description: 城市的审批人  信息
 */
class CityAuthorization extends Eloquent
{
    protected $table = "city_authorization";

    public static $status = array(
        "1"=>"开启",
        "0"=>"关闭",
    );


     public function createuser()
    {
        return $this->hasOne('SystemUser',"id","created_by");
    }


    public function updateuser()
    {
        return $this->hasOne('SystemUser',"id","updated_by");
    }

}